package com.aeye.mbr.ws.api;

import com.aeye.mbr.common.ui.validator.SafeString;

import java.io.Serializable;

public class BaseReq implements Serializable{
	@SafeString(message="input.data.unsafe")
	private String name;
	@SafeString(message="input.data.unsafe")
	private String idCard;
	private Long sysNo;
	@SafeString(message="input.data.unsafe")
	private String cardType;// 证件类型

	private String businessData;// 可按json 格式扩展封装你要传递的请求数据,具体格式可自定义，当子系统扩展平台的接口时可以用到, 不用再添加其它属性了

	private Integer offlineCount; // 未上传的离线文件个数
	//终端的本地版本
	private String localVersion;
	
	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdCard() {
		//return idCard;
		return IdcardUtils.getFinalCardString(idCard, null);
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Long getSysNo() {
		return sysNo;
	}

	public void setSysNo(Long sysNo) {
		this.sysNo = sysNo;
	}

	public String getBusinessData() {
		return businessData;
	}

	public void setBusinessData(String businessData) {
		this.businessData = businessData;
	}

	public Integer getOfflineCount() {
		return offlineCount;
	}

	public void setOfflineCount(Integer offlineCount) {
		this.offlineCount = offlineCount;
	}

	public String getLocalVersion() {
		return localVersion;
	}

	public void setLocalVersion(String localVersion) {
		this.localVersion = localVersion;
	}

}
